Method for Modelling Technical Systems

ABSTRACT

A method for modelling technical systems having a plurality of technical components, including the step of assigning a component Markov chain to each component having a Markov chain for representing various states of the respective component, at least one input one failure mode for externally triggering a transition from one state of the Markov chain into another state of the Markov chain, and at least one output failure mode to each Markov chain for propagating failures to other components, is provided.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to PCT Application No. PCT/EP2016/079852, having a filing date of Dec. 6, 2016 and PCT Application No. PCT/EP2016/080134, having a filing date of Dec. 7, 2016 the entire contents which are hereby incorporated by reference.

FIELD OF TECHNOLOGY

The following relates to a method for modelling technical systems having a plurality of technical components.

BACKGROUND

The importance of safety-critical systems in many application domains of embedded systems, such as aerospace, railway, health care, automotive and industrial automation is continuously growing. Thus, along with the growing system complexity, also the need for safety assessment as well as its effort is increasing drastically to guarantee the high-quality demands in these application domains.

The goal of the safety assessment process is to identify all failures that cause hazardous situations and to demonstrate that their probabilities are sufficiently low. In the application domains of safety-critical systems the safety assurance process is defined by the means of safety standards.

Traditionally, the analysis of a system in terms of safety consists of bottom-up safety analysis approaches, such as Failure Mode and Effect Analysis (FMEA), and top-down approaches, such as Fault Tree Analysis (FTA) to identify failure modes, their causes, and effects with impact on the system safety.

With Component Fault Trees (CFTs) there is a model- and component-based methodology for FTA, which supports a modular and compositional safety analysis strategy. Fault tree elements are related to their development artifacts and can be reused along with the respective development artifact. However, with Fault Trees there is no possibility to express a temporal sequence of events. In contrast, to this Markov chains are a state-based analysis technique and enable safety and reliability analysis of complex systems with fault tolerance capabilities. However, the use of Markov chains is limited due to exponential explosion of the size of the model and the missing composability of Markov chains. To overcome these limitations and to combine the advantages of Component Fault Trees and Markov Chain a component concept for Markov chains is required. In this work, we present a component concept for Markov chains so that it is possible to build a safety artifact in form of a Markov Chain and to associate it to system development elements such as components. Hence, such Component Markov Chain elements can be reused along with the respective development artifact. Moreover, a modular and compositional safety analysis strategy is supported for Markov chains similar to Component Fault Trees. Thereby, so-called hybrid Fault Trees (hFTs) consisting of any combination of Component Fault Tree and Markov Chain elements can be build and analyzed.

Markov chains can be integrated in fault trees as a substitute of the Basic Events of fault trees. Thereby, a basic event is represented by a Markov chain. However, such an approach is limited to Markov chains with exactly one error state. Moreover, existing component concepts for Markov chains can only be associated to specific components, e.g. sensor components that do not get input from other components.

SUMMARY

An aspect relates to improving a reliability analysis and a safety assessment process of a plurality of technical components.

According to a first aspect this object is solved by a method for modelling technical systems having a plurality of technical components, comprising the step of assigning a component Markov chain to each component having a Markov chain for representing various states of the respective component; at least one input one failure mode for externally triggering a transition from one state of the Markov chain into another state of the Markov chain; and at least one output failure mode to each Markov chain for propagating failures to other components. In this way a safety analysis model can be realized for large-scale systems including a plurality of components using a divide-and-conquer strategy. Once set up, Markov chains can be reused along with the associated technical system component.

In a preferred technical embodiment of the method the Markov chain comprises an initial state and a set of error states of the component. This embodiment has the technical advantage that the component is represented by a healthy init state from which transitions into error states may occur.

In a further preferred technical embodiment of the method each transition from one state to another state is defined by a probability, which either represents a failure rate or a repair rate of the component. This embodiment has the technical advantage that failures and repairs of the component can be modelled efficiently.

In a further preferred technical embodiment of the method the component comprises an inport in logical connection with one or several input failure modes of the component Markov chain. This embodiment has the technical advantage that the component has an interface for input-coupling with other external components.

In a further preferred technical embodiment of the method the component comprises an outport in logical connection with one or several output failure modes of the component Markov chain. This embodiment has the technical advantage that the component has an interface for output-coupling with other external components.

In a further preferred technical embodiment of the method the outport of one component is logically connected with the inport of another component. This embodiment has the technical advantage that large scale systems including a plurality of components can be modelled efficiently.

In a further preferred technical embodiment of the method the component Markov chain is transformed into a component fault tree element for qualitative analysis. This embodiment has the technical advantage that the component Markov chain is simplified for achieving fast qualitative results.

In a further preferred technical embodiment of the method the probabilities to reach each error state, which triggers the output failure mode, by a sequence of states from the initial state of the Markov Chain are multiplied. This embodiment has the technical advantage that a quick transformation is achieved.

In a further preferred technical embodiment of the method a basic event is created, if a transition between two states has a fixed probability representing a failure rate. This embodiment has the technical advantage that the component Markov chain is transformed efficiently.

In a further preferred technical embodiment of the method else an OR-gate is created and all input failure modes, on which the transition depends, are connected to the OR-gate. This embodiment has also the technical advantage that the component Markov chain is transformed efficiently.

In a further preferred technical embodiment of the method for each output failure mode of the component Markov chain and for all different paths leading from the initial state of the component Markov chain to error states connected to an output failure mode, the basic events or OR-gates with connected input failure modes within the component fault tree element, which represent the transition, are connected by an AND-gate. This embodiment has also the technical advantage that the component Markov chain is transformed efficiently.

In a further preferred technical embodiment of the method the technical component comprises a hardware module or a software module. This embodiment has the technical advantage that various components can be analyzed.

According to a second aspect this object is solved by a component Markov chain for modelling technical systems, comprising a Markov chain for representing various states of the component; at least one input failure mode for externally triggering a transition from one state of the Markov chain into another state of the Markov chain; and at least one output failure mode for propagating failures to other components. The component Markov chain provides for the same technical advantages as the method according to the first aspect.

According to a third aspect this object is solved by a technical component comprising a storage module for storing a data structure representing a component Markov chain, comprising a Markov chain for representing various states of the component; at least one input failure mode for externally triggering a transition from one state of the Markov chain into another state of the Markov chain; and at least one output failure mode for propagating failures to other components. The technical component provides for the same technical advantages as the method according to the first aspect. In particular component Markov chains of technical components can be retrieved from the storage module when setting up technical systems. The storage module can be a non-volatile storage, like a ROM-Storage or a flash storage.

According to a fourth aspect this object is solved by a computer program loadable into a memory of a computer comprising software code portions for executing the method according to the first aspect, when the computer program is run on the computer. The computer may have a memory for digitally storing the computer program and a processor for processing the stored computer program. The computer program provides for the same technical advantages as the method according to the first aspect.

BRIEF DESCRIPTION

Some of the embodiments will be described in detail, with reference to the following figures, wherein like designations denote like members, wherein:

FIG. 1 shows a classic fault tree and component fault tree;

FIG. 2 shows an exemplary Markov chain;

FIG. 3 shows an exemplary component Markov chain;

FIG. 4 shows an exemplary hybrid fault tree; and

FIG. 5 shows an exemplary component Markov chain transformed into a CFT element for qualitative analysis.

DETAILED DESCRIPTION

FIG. 1 shows on the left side a classic fault tree 100 and on the right side a component fault tree 200. In both trees 100 and 200 the top events or output events TE1 and TE2 are modeled. The classic fault tree 100 and the component fault tree 200 comprise Boolean formulas represented by OR-Gates and AND-gates. Basic events A and In are processed into top events TE1 and TE2 by the Boolean formulas.

The model of the component fault tree 200 allows, additionally to the Boolean formulas that are also modeled within the classic fault tree 100, to associate the specific top events TE1 and TE2 to the corresponding output ports O1 of a component 101 where these failures can appear. Input to the component 101 is supplied via input port I1.

Top event TE1 for example appears at port O1. Using this methodology of components also within fault tree models, benefits during the development can be observed, for example an increased maintainability of the safety analysis model.

Markov chains (MC) are a top-down analysis technique. A Markov chain represents various system states and the relationships among them. Markov chains are often described by a sequence of directed graphs, in which the edges of the graph, i.e. the so-called transitions, are labeled with probabilities of going from one state at time n to another state at time n+1. In this way a so-called transition rate can be defined. The transition rate from one state to another is either a function of the failure or repair rate. Each state of a Markov chain is mutually exclusive because at any given time, the system can be in only one of the states. Especially, in fault tolerant systems the safety assessment process and evaluation of such system may be more appropriately achieved by the application of the Markov technique then using fault trees.

A component fault tree (CFT) 200 is a Boolean model associated to system development elements such as components 101. It has the same expressive power as classic fault trees 100. Like classic fault trees 100, also component fault trees 200 are used to model failure behavior of safety-critical systems. This failure behavior is used to document that a system is safe and can also be used to identify drawbacks of the design of a system. In component fault trees 200, a separate component fault tree element is related to a component 101. Failures that are visible at the outport of the component 101 are modeled using output failure modes which are related to the specific outport O1. To model how specific failures propagate from an inport I1 of a component 101 to the outport O1, input failure modes In are used. The internal failure behavior that also influences the output failure modes TE1 and TE2 is modeled using the Boolean gates such as “OR” and “AND” as well as basic events. Every component fault tree 200 can be transformed to a classic fault tree 100 by removing the input and output failure modes elements.

This can be combined into a general component concept for Markov chains. In the following, this method is described formally and illustrated using an example.

First, we assume that the System S consists of a set of components C={c_(l), . . . ,c_(n)}. Each component c∈C includes a set of inports IN(c)={in_(l), . . . ,in_(p)} and a set of outports OUT(c)={out_(l), . . . ,out_(q)}.

The information flow between the outport O1 of a component c_(i)∈C and the inport of another component c_(j)∈C (with c_(i)≠c_(j)) is represented by a set of connections

CON={(out_(x),in_(y))|out_(x)∈OUT(c _(i)),in_(y)∈IN(c _(j))}.

A Markov chain is a directed graph which consists of a set of states S={S_(i), . . . ,S_(n)} with an initial state s_(init)∈S to start from and a set of error states S_(error)⊂S. The relation between the states of the Markov chain is defined by a set of transitions:

T={(S _(x) ,S _(y))|S _(x) ,S _(y) ∈S}.

Each transition t_(i)∈T from state s_(j)∈S to state s_(k)∈S is defined by a probability P(j,k), which either represents a failure rate λ_(j,k) or a repair rate μ_(j,k):

${P\left( {j,k} \right)} = {p_{j,k} = \left\{ \begin{matrix} {\lambda_{j,k} = \left\lbrack {0,1} \right\rbrack} \\ {\mu_{j,k} = \left\lbrack {0,1} \right\rbrack} \end{matrix} \right.}$

Hence, a Markov chain is defined by the tuple

MC=(S,S_(error),s_(init),T)

FIG. 2 shows an example of a Markov chain 300 having an init state 1, intermediate state 2 and an error state 3. This exemplary Markov chain 300 is defined by:

S={1,2,3}

S_(init)=1

S_(error)={3}

T={(1,2),(2,3),(3,1)}

P(1,2)=p_(1,2)=λ_(1,2)=0.3

P(2,3)=p_(2,3)=λ_(2,3)=0.6

P(3,1)=p_(3,1)=μ_(3,1)=0.12

In order to specify a component Markov chain (CMC) cmc_(i) which can be associated to any development artifact, like technical components 101 of the system c_(i)∈C, the definition of the Markov chain 300 is extended.

In addition the component Markov chain element cmc_(i) may have a set of input failure modes IFM={ifm_(l), . . . ,ifm_(q)} which represent incoming failures for outside of the scope of the component 101 with the failure rate P(ifm_(i)). Each input failure mode ifm_(j)∈IFM can trigger one or several transitions T_(ifmj)⊆T of the component Markov chain. This relation is represented by a set of input failure mode dependencies:

DI={(ifm _(x) ,t _(y) |ifm _(x) ∈IFM,t _(y) ∈T}

Each input failure mode dependency di_(j,k)∈DI may define a factor f(di_(j,k))→

which scales the failure rate P(ifm_(j)) of the input failure mode ifm_(j)∈IFM. The interconnection of a transition t_(k)∈T with one or more input failure modes changes the probability of the transition P(t_(k)) from state s_(a)∈S to state s_(b)∈S:

${P\left( {a,\ b} \right)} = {p_{a,b} + {\sum\limits_{l = 1}^{q}{{f\left( {di_{l,k}} \right)}*{P\left( {ifm_{l}} \right)}}}}$

Moreover, a component Markov chain may have a set of output failure modes OFM={ofm₁, . . . ,ofm_(r)} which represent failure propagated to other components with the failure rate P(ofm_(i)). Each output failure mode ofm_(j)∈OFM is triggered when a specific error state s_(k)∈S_(error) is reached, since the error states of the component Markov chain represent the failures modes. This relation is represented by a set of output failure mode dependencies:

DO={(s _(x) ,ofm _(y))|s _(x) ∈S,ofm _(y) ∈OFM}

If the error state s_(k) is reached, the output failure mode ofm_(j) is triggered. Thus, P(s_(k))=P(ofm_(j)).

Hence, a component Markov chain is defined by the tuple

CMC=(S,S_(error),s_(sinit),T,IFM,DI,OFM,DO)

FIG. 3 shows an example for a component Markov chain 400. This exemplary component Markov Chain 400 is defined by:

S={1,2,3,4 }

s_(init)=1

S_(error)={3,4}

T={(1,2),(2,3),(3,1),(3,4)}

IFM={a,b}

DI={(a,t₁),(b,t₄)}

OFM={c,d}

DO={(3,c),(4,d)}

with

f(a,t₁)=0.0

f(b,t₄)=0.45

Hence, the probabilities for the transition rates of the exemplary component Markov chains 400 are as follows:

P(1,2)=λ_(1,2) +f(a,t ₁)*P(a)=0.3

P(2,3)=λ_(2,3)=0.6

P(3,1)=μ_(3,1)=0.12

P(3,4)=λ_(3,1) +f(b,t ₄)*P(b)=0.0+0.45*P(b)

A component Markov chain cmc_(i) can be associated to a technical system component c_(i)∈C in the same way a CFT element is associated with a component 101:

C{tilde over (M)}C(c_(i))=cmc_(i) with cmc_(i)≠∅

Thereby, it is possible that the input and output failure modes of a component Markov chain cmc_(i) can be mapped onto the input and output ports of the component c_(i). Based on the above definition a component Markov chain 400 can be analyzed qualitatively or quantitatively.

FIG. 4 shows an exemplary hybrid Fault Tree (hFT) 500 to illustrate the analysis of the component Markov chain 400 having the components 101-1, 101-2 and 101-3. The following exemplary hybrid fault tree 500 is defined by:

C={c₁,c₂,c₃}

IN(c₁)={}

IN(c₂)={i1}

IN(c₃)={i2}

OUT(c₁)={o1}

OUT(c₂)={o2}

OUT(c₃)={o3}

CON={(o1,i1),(o2,i2)}

C{tilde over (F)}T(c₁)=cft₁

C{tilde over (M)}C(c₂)=cmc₂

C{tilde over (F)}T(c₃)=cft₃

For qualitative analysis the component Markov chain 400 is transformed into a component fault tree element. This transformation is performed in two steps:

1. If a transition between two states has a fixed probability, i.e. there is no input failure mode dependency between an input failure mode and the transition, and this probability represents a failure rate λ and a repair rate μ, then a basic event is created. Otherwise, an OR-gate is created and all input failure modes, on which the transition depends, are connected to this gate. 2. For each output failure mode of the component Markov chain 400 and for all different paths leading from the initial state of the component Markov chain 400 to error states connected to an output failure mode, the basic events or OR-gates with connected input failure modes within the CFT element, which represent the transition, are connected by an AND-gate. If more than one path is existing, all AND-gates are connected by an OR-gate, which is then connected to the output failure mode.

FIG. 5 shows an exemplary component Markov chain 400 transformed into a CFT element 600 for qualitative analysis. For the exemplary hybrid Fault Tree 500 as depicted in FIG. 4, the component Markov chain cmc₂ for the qualitative analysis is transformed into a CFT as follows.

In a quantitative analysis the failure probability P(ofm_(j)) of each output failure mode ofm_(j)∈OFM of a component Markov chain cmc_(i) is defined as

${\sum\limits_{{do_{k,j}} \in {DO}}{P\left( s_{k} \right)}} = {\sum\limits_{{do_{k,j}} \in {DO}}{\prod\limits_{l = 1}^{n}{P\left( {s_{{k + l - 1},}\ s_{k + l}} \right)}}}$

Thereby, the probabilities to reach the error state, which triggers the output failure mode ofm_(j), is calculated by summing up the probabilities of each sequence of states from the initial state of the Markov Chain to this error state. The probability of a sequence of transitions is defined the product of all transition rates P(s_(k+l−l),s_(k+l)).

Since the failure rate of each output failure mode of a component Markov chain 400 can be calculated as described above, the component Markov chain 400 can be combined with CFT elements in any way and integrated into the hybrid fault tree. For the exemplary hybrid fault tree as depicted in FIG. 4 the following failure rates for the basic events are assumed:

P(x)=2.0*10⁻⁷

P(y)=4.0*10⁻⁷

P(z)=1.0*10⁻⁷

Thus, the failure rate of the input failure mode a is P(a)=6.0*10⁻⁷.

Hence, the quantitative analysis of the component Markov chain cmc₂ results in:

$\begin{matrix} {{P(b)} = {{P(3)} = {{P\left( {1,2} \right)}*{P\left( {2,3} \right)}}}} \\ {= {0.3*\left( {{0.6} + \left( {{0.4}*P(a)} \right)} \right.}} \\ {= {0.3*\left( {{0.6} + \left( {{0.4}*{6.0}*10^{- 7}} \right)} \right.}} \\ {= 0.18} \end{matrix}$

The component concept for Markov chains allows the modular specification of a Markov chain and the association to a system development element such as a technical component.

The technical component can be a software module, like an object in object oriented programming (OOP). The technical component can also be hardware module, like an electronic circuit or an application-specific integrated circuit (ASIC). The technical component can also comprise combinations of hardware and software.

Since the approach enables the composition of component Markov chain, large-scale systems including a plurality of components can be modeled using a divide-and-conquer strategy and Markov chains can be reused along with the associated technical system component.

Thus, the complexity of building Markov models for complex technical systems is reduced. Moreover, component Markov chain models can be combined with Component Fault Tree (CFT) models in any way in order to build a hybrid fault trees which can then be analyzed qualitatively, e.g. by a minimal cut set analysis or quantitatively.

All features discussed or shown with respect to particular embodiments can be provided in various combinations in order to simultaneously realize their advantageous effects.

All method steps can be implemented by corresponding means which are adapted for performing the respective method step. All functions provided by particular means can be a method step of the method.

The scope of protection is given by the claims and not restricted by features discussed in the description or shown in the figures.

Although the present invention has been disclosed in the form of preferred embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention.

For the sake of clarity, it is to be understood that the use of “a” or “an” throughout this application does not exclude a plurality, and “comprising” does not exclude other steps or elements. 

1. A method for modelling technical systems having a plurality of technical components, comprising: assigning a component Markov chain to each component having: a Markov chain for representing various states of the respective component; at least one input one failure mode for externally triggering a transition from one state of the Markov chain into another state of the Markov chain; and at least one output failure mode to each Markov chain for propagating failures to other components.
 2. The method according to claim 1, wherein the Markov chain comprises an initial state and a set of error states of the component.
 3. The method according to claim 2, wherein each transition from one state to another state is defined by a probability, which either represents a failure rate or a repair rate of the component.
 4. The method according to claim 1, wherein the component comprises an inport in logical connection with one or several input failure modes of the component Markov chain.
 5. The method according to claim 1, wherein the component comprises an outport in logical connection with one or several output failure modes of the component Markov chain.
 6. The method according to claim 4, wherein the outport of one component is logically connected with the inport of another component.
 7. The method according to claim 1, wherein the component Markov chain is transformed into a component fault tree element for qualitative analysis.
 8. The method according to claim 7, wherein probabilities to reach each error state, which triggers the at least one output failure mode, by a sequence of states from the initial state of the Markov Chain are multiplied.
 9. The method according to claim 7, wherein if a transition between two states has a fixed probability representing a failure rate, then a basic event is created.
 10. The method according to claim 9, wherein else an OR-gate is created and all input failure modes, on which the transition depends, are connected to the OR-gate.
 11. The method according to claim 7, wherein for each output failure mode of the component Markov chain and for all different paths leading from the initial state of the component Markov chain to error states connected to an output failure mode, the basic events or OR-gates with connected input failure modes within the component fault tree element, which represent the transition, are connected by an AND-gate.
 12. The method according to claim 1, wherein the technical component comprises a hardware module or a software module.
 13. A component Markov chain for modelling technical systems, comprising Markov chain for representing various states of the component; at least one input failure mode for externally triggering a transition from one state of the Markov chain into another state of the Markov chain; and at least one output failure mode for propagating failures to other components.
 14. A technical component comprising a storage module for storing a data structure representing a component Markov chain, comprising a Markov chain for representing various states of the component; at least one input failure mode for externally triggering a transition from one state of the Markov chain into another state of the Markov chain; and at least one output failure mode for propagating failures to other components.
 15. A computer program loadable into a memory of a computer comprising software code portions for executing the method according to claim 1, when the computer program is run on the computer. 